import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import Axios from "axios";
import moment from 'moment';
import '@/assets/css/global.css'
import 'element-ui/lib/theme-chalk/index.css'
Vue.config.productionTip = false
Vue.use(ElementUI)

Vue.filter('dateFit',function (data,forStr) {
  return moment(data).format(forStr);
})
Vue.prototype.$http=Axios
Axios.defaults.baseURL='/api'
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
